<?php 
//跳台阶
function jumpFloor($number)
{
	if($number<3) return $number;
	$tmp = 1;
	$ret = 1;
	for($i=2;$i<=$number;$i++)
	{
		$ret += $tmp;
		$tmp = $ret - $tmp;
	}
	return $ret;
}
?>